package model.semantics.unary;

import model.semantics.UnaryOperation;


/**
 * Evaluate the sine of the value.
 * 
 * @author Anne Weng
 */
public class Sin extends UnaryOperation
{
	protected boolean leftAssociative = false;
	
	public Sin(int precedence)
	{
		super(precedence);
	}
	
    @Override
    protected double evaluateValue (double value)
    {
        return Math.sin(value);
    }
}
